package com.qfedu.entity;

import java.io.Serializable;
import java.util.Date;

public class OrderEntity implements Serializable {
    private String oid;
    private int rid=0;
    private int ostatus;
    private float oprice=0;
    private int uid;
    private int sid=0;
    private String ophone;
    private RouteEntity routeEntity;
    private int PageNum=1;
    private int PageSize=5;
    private BoatEntity boat;
    private Date createTime;
    private Integer omonth;
    private Integer oyear;
    private String odesc;

    public String getOdesc() {
        return odesc;
    }

    public void setOdesc(String odesc) {
        this.odesc = odesc;
    }

    public Integer getOyear() {
        return oyear;
    }

    public void setOyear(Integer oyear) {
        this.oyear = oyear;
    }

    public Integer getOmonth() {
        return omonth;
    }

    public void setOmonth(Integer omonth) {
        this.omonth = omonth;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public BoatEntity getBoat() {
        return boat;
    }

    public void setBoat(BoatEntity boat) {
        this.boat = boat;
    }

    public int getPageNum() {
        return PageNum;
    }

    public void setPageNum(int pageNum) {
        PageNum = pageNum;
    }

    public int getPageSize() {
        return PageSize;
    }

    public void setPageSize(int pageSize) {
        PageSize = pageSize;
    }

    @Override
    public String toString() {
        return "OrderEntity{" +
                "oid='" + oid + '\'' +
                ", rid=" + rid +
                ", ostatus=" + ostatus +
                ", oprice=" + oprice +
                ", uid=" + uid +
                ", sid=" + sid +
                ", ophone='" + ophone + '\'' +
                ", routeEntity=" + routeEntity +
                ", PageNum=" + PageNum +
                ", PageSize=" + PageSize +
                '}';
    }

    public OrderEntity(String oid, int rid, int ostatus, int uid) {
        this.oid = oid;
        this.rid = rid;
        this.ostatus = ostatus;
        this.uid = uid;
    }

    public RouteEntity getRouteEntity() {
        return routeEntity;
    }

    public void setRouteEntity(RouteEntity routeEntity) {
        this.routeEntity = routeEntity;
    }

    public OrderEntity() {
    }

    public String getOphone() {
        return ophone;
    }

    public void setOphone(String ophone) {
        this.ophone = ophone;
    }

    public int getSid() {
        return sid;
    }

    public void setSid(int sid) {
        this.sid = sid;
    }

    public String getOid() {
        return oid;
    }

    public void setOid(String oid) {
        this.oid = oid;
    }

    public int getRid() {
        return rid;
    }

    public void setRid(int rid) {
        this.rid = rid;
    }

    public int getOstatus() {
        return ostatus;
    }

    public void setOstatus(int ostatus) {
        this.ostatus = ostatus;
    }

    public float getOprice() {
        return oprice;
    }

    public void setOprice(float oprice) {
        this.oprice = oprice;
    }

    public int getUid() {
        return uid;
    }

    public void setUid(int uid) {
        this.uid = uid;
    }
}
